import {  Data } from "../pages/types/weather";
import RequestHttp from "../utils/request";

export const getJokeListAPI = (params: object) => RequestHttp.get<string[]>("/api/joke/list", params)

export const getweatherAPI=(params:string)=>RequestHttp.get<Data>("/api/weather", {params})